
#include <iostream>

using namespace std;


template<typename T, typename D = short>class A{
public:
	void print(){
		cout << "m_t : " << typeid(m_t).name() << " || "
			<< "m_d : " << typeid(m_d).name() << endl;
	}
private:
	T m_t;
	D m_d;
};


int main(){
	A<int, double> a;
	a.print( );

	A<int> a2;
	a2.print( );

	return 0;
}
